<template>
	<view class="container settting">
		<view class="item avatar">
			<view class="avatar title">
				我的头像
			</view>

			<view class="avatar-box">

				<img src="/static/boy.png" alt="">
				<text class="t-icon t-icon-youjiantou"></text>
			</view>
		</view>
		<view class="item phoneNum" @click="toPhoneNum">
			<view class="phoneNum title">
				修改手机号密码
			</view>


			<text class="t-icon t-icon-youjiantou"></text>

		</view>
		<!-- <view class="item pwd" @click="toPwd">
			<view class="pwd title">
				密码
			</view>
			<text class="t-icon t-icon-youjiantou"></text>
		</view> -->
		<view class="item technology">
			<view class="version title">
				技术支持
			</view>
			<text class="t-icon t-icon-youjiantou"></text>
		</view>
		<view class="item version" @click="versionFun">
			<view class="version title">
				版本号
			</view>
			<text class="t-icon t-icon-youjiantou"></text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods:{
			toPhoneNum(){
				uni.navigateTo({
					url:'/pages/setPhoneNum/setPhoneNum'
				})
			},
			toPwd(){
				uni.navigateTo({
					url:'/pages/setpwd/setpwd'
				})
			}
			
		}
	}
</script>

<style lang="less">
	.settting {
		height: 100%;
		background: #f2f2f2;
	}

	.item {
		width: 100%;
		height: 100rpx;
		border-bottom: solid 1px #eee;
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: white;
		.title{
			margin-left: 20rpx;
			color: #999;
		}
		.t-icon{
			width: 40rpx;
			height: 40rpx;
			margin-right: 20rpx;
		}
	}

	.avatar {

		.avatar-title {
			width: 140rpx;
			margin-left: 20rpx;
			// background: red;
		}

		.avatar-box {
			// margin-right: 20rpx;
			display: flex;
			align-items: center;

			img {
				width: 70rpx;
				height: 70rpx;
				margin-right: 20rpx;
			}

			.t-icon {
				width: 40rpx;
				height: 40rpx;
			}
		}
	}
	.technology{
		margin-top: 20rpx;
	}
</style>